﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PermissionUI.aspx.cs" Inherits="ThangNM.Admin.PermissionUI" MasterPageFile="~/PublicInterface/Admin.Master" %>
<%@ Register src="~/UserControl/MsgUC.ascx" tagname="MsgUC" tagprefix="uc1" %>
<%@ Register src="~/UserControl/ToolBarUC.ascx" tagname="ToolBarUC" tagprefix="uc2" %>
<%@ Register src="~/UserControl/Title_FormUC.ascx" tagname="Title_FormUC" tagprefix="uc3" %>

<asp:Content ID="cBody" runat="server" ContentPlaceHolderID="cphBody">
    <uc3:Title_FormUC ID="Title_FormUC1" runat="server" />
    <uc1:MsgUC ID="MsgUC1" runat="server" /><br />
    <asp:Panel ID="pnlMain" runat="server">
        <div class="form-group input-group">
		    <asp:Label id="lblsUsername" runat="server" class="input-group-addon title_input" Text="Tài khoản:"></asp:Label>
             <asp:DropDownList ID="ddlsUsername" runat="server" Width="500px" class="form-control" onselectedindexchanged="ddlsUsername_SelectedIndexChanged" AutoPostBack="true"></asp:DropDownList>
            <span class="notnull">(* Bắt buộc)</span>
        </div>
        <hr /><br />
        <div class="form-group input-group">
		    <asp:Label id="Label2" runat="server" class="input-group-addon title_input" Text="Phân quyền user:"></asp:Label>
            <asp:CheckBox ID="chkSetDefault" runat="server" AutoPostBack="true" oncheckedchanged="chkSetDefault_CheckedChanged" Checked="true" />
            <span class="notnull">(* Bắt buộc)</span>
        </div>
        <div class="form-group input-group">
		    <asp:Label id="lbliPermission" runat="server" class="input-group-addon title_input" Text="Quyền hạn:"></asp:Label>
             <asp:DropDownList ID="ddliPermission" runat="server" Width="500px" class="form-control" onselectedindexchanged="ddliPermission_SelectedIndexChanged" AutoPostBack="true"></asp:DropDownList>
            <span class="notnull">(* Bắt buộc)</span>
        </div>
        <div id="divGR" style="width:800px;" class="form-group input-group">
		    <asp:Label id="Label1" runat="server" class="input-group-addon title_input" Text="Phân quyền cho từng chức năng:"></asp:Label>
            <center><input id="chkAll" type="checkbox" onclick="checkAll(this, 'divGR');"/><label for="chkAllGR">Select All</label><hr class="hr_style" /></center>
            <div style="height:300px;overflow-y:scroll;padding:10px">
                <asp:CheckBoxList ID="cblPK_iFunctionID" runat="server" RepeatColumns="1" RepeatDirection="Horizontal" CellPadding="5" CellSpacing="5" Font-Bold="False" Font-Size="12px" CssClass="margin_checkbox"></asp:CheckBoxList>
            </div>
            <span class="notnull">(* Bắt buộc)</span>
        </div>
        <uc2:ToolBarUC ID="ToolBarUC1" runat="server" OnEventButtonToolBar="EventButtonToolBar_Click"/>
    </asp:Panel>
    <br /><br /><br /><br /><br />
</asp:Content>